[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Henning Hraban Ramm
{10}{ \bTR \bTD\strut \eTD\bTD \eTD\bTD \eTD \eTR } \eTABLE """ Hraban%D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\

[NTG-context] \xmlinclusion?

2023-11-09 Thread Hans van der Meer via ntg-context
\xmlinclusion\{\#1\} ===> "\xmlinclusion{#1}"\crlf \xmlflush{#1}\crlf {\bf End test}\blank\stopxmlsetups\startxmlsetups demo:test \xmlflush{#1}\stopxmlsetups\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blankThe following text is on page 52 of xml-mkiv.pdf:\crlf\type{

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen
nt. 28 29 \medskip 30 La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-, mm,-,dd]}. 31 32 \bigskip 33 Aquest document ha estat generat, \currentdate[weekday,{ },day,{ },month,{ },year] a les \currenttime, usant programari lliure (\goto{\Context}

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
ent és la {\bf 0.4.0-alfa.\currentdate[year,-, mm,-,dd]}. 31 32 \bigskip 33 Aquest document ha estat generat, \currentdate[weekday,{ },day,{ },month,{ },year] a les \currenttime, usant programari lliure (\goto{\Context}[url(http://wiki.contextgarden.net)] versió \contextversionnumb

[NTG-context] Re: Triaging tikz error: Cannot parse this coordinate

2023-08-08 Thread Hans Hagen
- %D \module %D [ file=m-tikz, %Dversion=2021.07.12, %D title=\CONTEXT\ Extra Modules, %D subtitle=TIKZ support, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Develop

[NTG-context] \version[temporary] fatal error

2023-07-23 Thread Jacob Kauffmann via ntg-context
}:\space \currentdate \quad \donefalse \ifcstok \currentproject \currentproduct \ifcstok \currentproduct \currentcomponent \donetrue \fi \fi \ifdone \donefalse \else \ifempty \ \page_info_add_to_box #1->\scratchdimen \wd #1\setbox \b_page_versions \vpack to \ht #1{\vfill \settexthoff

[NTG-context] tikz + lmtx

2023-04-27 Thread Aditya Mahajan via ntg-context
date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D A fixed variant of the t-tikz module distributed with tikz. For pract

Re: [NTG-context] Kaktovik numerals

2023-04-19 Thread Hans Hagen via ntg-context
=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D Just a quick hack for Hraban (after a

Re: [NTG-context] Kaktovik numerals

2023-04-18 Thread Hans Hagen via ntg-context
=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D Just a quick hack for Hraban (after a

Re: [NTG-context] rewrite for Greek in the wiki

2023-01-21 Thread Jean-Pierre Delange via ntg-context
g/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-el-polyton.tex). Ironically, modern polytonic Greek patterns would be required to typeset both the act and the decree that introduced the monotonic ortography. 2. Greek doesn’t seem to have language-dependent commands (such as \c

Re: [NTG-context] rewrite for Greek in the wiki

2023-01-21 Thread Thomas A. Schmitz via ntg-context
and the decree that introduced the monotonic ortography. 2. Greek doesn’t seem to have language-dependent commands (such as \currentdate). In both cases, Hans will reply that nobody asked for any of them. Of course, I totally agree. AfaIk, nobody asked for these features. Just

[NTG-context] rewrite for Greek in the wiki

2023-01-21 Thread Pablo Rodriguez via ntg-context
to typeset both the act and the decree that introduced the monotonic ortography. 2. Greek doesn’t seem to have language-dependent commands (such as \currentdate). In both cases, Hans will reply that nobody asked for any of them. Of course, I totally agree. AfaIk, nobody asked for these features

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-29 Thread Hans Hagen via ntg-context
-%D \module %D [ file=m-poetry, %Dversion=2022.08.28 %D title=\CONTEXT\ Extra Modules, %D subtitle=Whatever comes up, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This mo

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-28 Thread Hans Hagen via ntg-context
-%D \module %D [ file=m-poetry, %Dversion=2022.08.28 %D title=\CONTEXT\ Extra Modules, %D subtitle=Whatever comes up, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
-%D \module %D [ file=m-gimmicks, %Dversion=2022.07.25 %D title=\CONTEXT\ Extra Modules, %D subtitle=Whatever comes up, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is

Re: [NTG-context] Using alegreya typescript

2022-07-06 Thread Hans Hagen via ntg-context
=type-imp-dejavu, %Dversion=2010.06.21, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Alegreya fonts, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ m

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
-%D \module %D [ file=type-junicode, %D version=2011.09.18, %Dtitle=\CONTEXT\ Typescript Macros, %D subtitle=Junicode Font Definitions, %D author=Wolfgang Schuster, %D date=\currentdate, %Dcopyright=Wolfgang Schuster, %D license=GNU

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
t >>\startcircuitikz >>\draw (0,2) to[I] (2,2); >>\stopcircuitikz >>\startcircuitikz >>\draw (0,2) to[I] (2,2); >>\stopcircuitikz >> \stoptext >> >> with the attached. Make sure to put it in the regular context base pa

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
> > (nyw, it looks like tikz creates empty pfg files during a run but that's > probbably has a reason) > > Hans > > - > Hans Hagen | PRAGMA ADE > Ridderstr

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
\ Extra Modules, %D subtitle=TIKZ support, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C det

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Hans Hagen via ntg-context
rt, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D A fixed variant of the t-t

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
a Modules, %D subtitle=CURCUITIKZ support, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-24 Thread Wolfgang Schuster via ntg-context
to test if everything works as expected. Wolfgang %D \module %D [ file=type-imp-kurier, %Dversion=2021.10.24, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Kurier, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
placement("enabling replacement handler") end enabled = true end end texsetattribute(a_replacements,n) end -- interface implement { name = "setreplacements", actions = replacements.set, arguments = "string&quo

[NTG-context] date formatting

2021-07-18 Thread Hans van der Meer
or \language[en-gb] should format dates normally in day-month-year order, reserving mont-day-year for \language[us] i.e. language[en-us]. But in ConTeXt both \language[en] and \language[en-gb] produce the us ordering for \currentdate. I would be pleased if ConTeXt could be changed to the above

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
s Symbols (wasy-2), %D author=Henning Hraban Ramm, %D date=\currentdate, %D copyright={Public Domain}] %C %C This module is in the public domain. %D Converted to \MKIV\ by Hans but not yet complete. \unprotect \definefontsynonym [WaldiSymbol] [wasy10] \definefontsynonym [Wal

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Aditya Mahajan
. Aditya hatch.pdf Description: Adobe PDF document hatch.tex Description: TeX document %D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\curren

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
mize each segment. Aditya%D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\currentdate, %D copyright={Aditya Mahajan}] %D This metapost

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
n: TeX document %D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\currentdate, %D copyright={Aditya Mahajan}] %D This metapost module is insp

Re: [NTG-context] printing the current date

2021-01-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 27.01.2021 um 22:31: On 1/27/2021 6:28 PM, Peter Münster wrote: On Sun, Jan 10 2021, Peter Münster wrote: \currentdate% same as \date, but I would expect the day of today... Should I fill a bug-report on the tracker? Perhaps also for the missing space after \date

Re: [NTG-context] printing the current date

2021-01-27 Thread Hans Hagen
On 1/27/2021 6:28 PM, Peter Münster wrote: On Sun, Jan 10 2021, Peter Münster wrote: \currentdate% same as \date, but I would expect the day of today... Should I fill a bug-report on the tracker? Perhaps also for the missing space after \date[]? Reporting here is faster. Can (lazy me

Re: [NTG-context] printing the current date

2021-01-27 Thread Peter Münster
On Sun, Jan 10 2021, Peter Münster wrote: > \currentdate% same as \date, but I would expect the day of today... Should I fill a bug-report on the tracker? Perhaps also for the missing space after \date[]? TIA, -- Pe

[NTG-context] LMTX/MkIV difference in date handling

2021-01-14 Thread Henning Hraban Ramm
ConTeXt ver: 2021.01.11 17:27 LMTX fmt: 2021.1.11 The following works in MkIV, but not in LMTX: \def\Jahr{\currentdate[year]} \settaggedmetadata[ rights={© \Jahr{} Me} ] \starttext \strut \stoptext The error message is: 1 \def\Jahr{\currentdate[year]} 2 3

Re: [NTG-context] printing the current date

2021-01-10 Thread Fabrice L
> Le 10 janv. 2021 à 13:23, Peter Münster a écrit : > > Hi, > > I would expect, that \currentdate prints the current date, but it does > not: > > --8<---cut here---start->8--- > \starttext > \date[d=1]% first day of th

[NTG-context] printing the current date

2021-01-10 Thread Peter Münster
Hi, I would expect, that \currentdate prints the current date, but it does not: --8<---cut here---start->8--- \starttext \date[d=1]% first day of this month, ok \date% again first day, last parameters are used, this is ok \currentdate% same as \date,

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
} \blank[2*big] {\tfb \documentvariable{subtitleone}} \blank[2*big] {\tfb \documentvariable{subtitletwo}} \blank[10*big] {\tfb \documentvariable{revnumber}} \blank {\tfb \currentdate[month,year]} \blank[10*big] {\tfb Written by:} \blank {\tfb Company name} \blank {\tfb City, Country} \stopstandard

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
}} \blank[2*big] {\tfb \documentvariable{subtitletwo}} \blank[10*big] {\tfb \documentvariable{revnumber}} \blank {\tfb \currentdate[month,year]} \blank[10*big] {\tfb Written by:} \blank {\tfb Company name} \blank {\tfb City, Country} \stopstandardmakeup \stopcomponent end

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
[2*big]    \color[Modu_Blue]{\midaligned{\tfb \MySubtitleOne}}    \blank[2*big]    \color[Modu_Blue]{\midaligned{\tfb \MySubtitleTwo}} \blank[10*big] \color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}}    \blank    \midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}} \blank[

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
}} \blank[2*big] \color[Modu_Blue]{\midaligned{\tfb \MySubtitleOne}} \blank[2*big] \color[Modu_Blue]{\midaligned{\tfb \MySubtitleTwo}} \blank[10*big] \color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}} \blank \midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}} \blank[10*big

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
\MySubtitleTwo}} \blank[10*big] \color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}}    \blank    \midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}} \blank[10*big] \midaligned{\color[Modu_Blue]{\tfb Written by:}}    \blank    \midaligned{\color[Modu_Blue]{\tfb Company name

Re: [NTG-context] explain please

2020-06-24 Thread Hans van der Meer
\\currentdate Neat solution, worked without a hitch. Now I have to remember this for future use ... dr. Hans van der Meer > On 24 Jun 2020, at 21:10, Hans Hagen wrote: > > On 6/24/2020 9:00 PM, Hans van der Meer wrote: >> How can the crash in the minimal example he

Re: [NTG-context] explain please

2020-06-24 Thread Hans Hagen
On 6/24/2020 9:00 PM, Hans van der Meer wrote: How can the crash in the minimal example here be explained? And is there a solution to avoid this and make the crash going away "without having to jump through special hoops"? because \currentdate is a macro thatv does some magic ... it's

[NTG-context] ConTeXt doesn't recognize source on network drive?

2020-05-11 Thread context
subtitle=Startup Stub, 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 >> %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrigh

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
short expect a number between 1 and 7 and > result in a label for the requested day of the week but it's not meant > to be used in \currentdate. > > > Still using luatex and not luametatex. > > To get the short names with \currentdate you have to append ":mnem" to > th

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Wolfgang Schuster
ort expect a number between 1 and 7 and result in a label for the requested day of the week but it's not meant to be used in \currentdate. Still using luatex and not luametatex. To get the short names with \currentdate you have to append ":mnem" to the weekday, w, WEEKDAY or W ke

[NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
align=middle, frame=off] {\tfx \crlf Annex T.2.3. \crlf \tfx Date of issue: \crlf \currentdate \crlf page \pagenumber of \lastpage} } }] %\setupfloat[table][default={force,split}] \setupxtable[offset=0cm, frame=off, bottomframe=on, framecolor=gray, option=stretch, split=yes, header=repeat,

Re: [NTG-context] passing variables/data between context and lua

2019-10-06 Thread Wolfgang Schuster
r,    date=\currentdate] \starttext \getvariable{metadata}{author}\par \getvariable{metadata}{date} \stoptext The main point of the command is that you can choose whatever name you want for the keys to store the values. Instead a using a list of values to store in a key-value-method you can also p

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
, Main Street\\23124 London\\United Kingdom}, fromname={Jansen NV}, fromaddress={Waalhaven 2200\\2842 KL Rotterdam}, name={Piet jansen}, phone={+31(010)4234 4232}, email={peter.jan...@gmail.com}, date={\currentdate}, signature={Pete},] % END LETTER SETUP, START LETTER

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
)4234 4232}, email={peter.jan...@gmail.com}, date={\currentdate}, signature={\externalfigure[autograph][height=4\lineheight]\\\correspondenceparameter{name}},] % END LETTER SETUP, START LETTER \startletter [subject={Outstanding Invoices}, opening={Dear Sir,}, closing={Kind Regards

Re: [NTG-context] expansion inside PDF annotations

2019-03-07 Thread Pablo Rodriguez
On 3/6/19 10:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 17:44: >> [...] >> \attachment >> [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] >> [author={Attached on \currentdate}, >> title={Att

Re: [NTG-context] expansion inside PDF annotations

2019-03-06 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 05.03.19 um 17:44: Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Wolfgang Schuster
. \stopattachment Attached on \currentdate. \stopTEXpage \stoptext I have a question: shouldn’t be “Attached file.” typeset on the main text? No because \startattachment ... \stopattachment is the same as \startbuffer[...] ... \stopbuffer \attachment[buffer=...] where you combine the buffer

[NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \startattachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] Attached file. \stopattachment Attached on \currentdate. \stopTEXpage

[NTG-context] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] [author={Attached on \currentdate}, title

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
The following example \mainlanguage[nl] \starttext \currentdate \stoptext gives 2019 maart 27. Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
a wrong date: \mainlanguage[fr] \starttext \currentdate \stoptext gives 27 mars 2019 (with two months in advance… :-) \mainlanguage[en] or any other language, gives the same error (March 27, 2019). Best regards: OK > On 27 Jan 2019, at 13:17, Fabrice Couvreur > wrote: > >

Re: [NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
\leftmarginwidth    \setupalign[flushright]    \bf abc} \stoptext Wolfgang Hans van der Meer schrieb am 07.09.18 um 13:02: This minimal example: \starttext \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank Testing \ConTeXt macro\ \tex{inmargin} \blank Some text to fill the body

[NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
This minimal example: \starttext \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank Testing \ConTeXt macro\ \tex{inmargin} \blank Some text to fill the body of the text.\par \inmargin{\hbox{abc}} Some text to fill the body of the text\par \stoptext produces an underfull hbox

[NTG-context] Use of context in lua (was: date calculated with currentdate plus n days)

2018-08-14 Thread Jan U. Hasecke
On 14.08.2018 16:58, Pablo Rodriguez wrote: > I rewrote your sample as (xtables are the only tables I know in ConTeXt): > > \starttext > \startlua > context.startxtable() > context.startxrow() > context.startxcell() > context("Note 1") >

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-14 Thread Pablo Rodriguez
On 08/14/2018 09:24 AM, Henri Menke wrote: > On 14/08/18 17:29, Pablo Rodriguez wrote: >> [...] >> Where are those context.* Lua commands documented? >> >> I want to generate an xtable using Lua code, but I don’t know where to read. > > They aren't documented because they are just the context

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-14 Thread Henri Menke
On 14/08/18 17:29, Pablo Rodriguez wrote: On 08/14/2018 01:46 AM, Henri Menke wrote: On top of that I recommend to use context.date to get the correct formatting according to the current language options: \def\duedate{\ctxlua{ local t = os.date('*t', os.time()+ 10 * 24 * 3600)

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
On 08/14/2018 01:46 AM, Henri Menke wrote: > On top of that I recommend to use context.date to get the correct > formatting according to the current language options: > > \def\duedate{\ctxlua{ >local t = os.date('*t', os.time()+ 10 * 24 * 3600) >context.date{ d = t.day, m = t.month, y =

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Henri Menke
On top of that I recommend to use context.date to get the correct formatting according to the current language options: \starttext \def\duedate{\ctxlua{ local t = os.date('*t', os.time()+ 10 * 24 * 3600) context.date{ d = t.day, m = t.month, y = t.year } }} \duedate \stoptext On

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Jan U. Hasecke
On 13.08.2018 17:57, Pablo Rodriguez wrote: > if you don’t mind using Lua, here you have it: > > \starttext > \def\duedate{\cldcontext{os.date('\letterpercent d/\letterpercent > m/\letterpercent Y', os.time()+ 10 * 24 * 3600)}} > > \duedate > \stoptext > > Just in case

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
On 08/13/2018 05:19 PM, Jan U. Hasecke wrote: > Hi all, > > I want to insert a due date for payments in my invoice and I would like > to calculate it from \currentdate. Something like > > define \duedate = \currentdate plus 10 days > > Is this possible? Hi Jan-Ulrich,

[NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Jan U. Hasecke
Hi all, I want to insert a due date for payments in my invoice and I would like to calculate it from \currentdate. Something like define \duedate = \currentdate plus 10 days Is this possible? juh ___ If your

Re: [NTG-context] letter: How to customize reference line?

2018-06-25 Thread Wolfgang Schuster
e={Joe User}, date=\currentdate] \setupletter [list={name,date}] ``` Only the date is shown in the reference line. The solution from chapter 9 also does not work. Still only the date is shown. ``` \setupletter [name={Joe User}, date=\currentdate] \setupletterstyle[reference][list

[NTG-context] letter: How to customize reference line?

2018-06-25 Thread Paul Menzel
: 2017.05.15 21:48 ``` The example from Wolfgang’s `correspondence.pdf` [1] doesn’t work for me. ``` \setupletter [name={Joe User}, date=\currentdate] \setupletter [list={name,date}] ``` Only the date is shown in the reference line. The solution from chapter 9 also does not work. Still

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{demo:entity} \startxmlsetups demo:entity:root \blank Start test:\crlf flushing: \xmlflush{#1}\crlf End test\blank \stopxmlsetups \startbuffer[demo] amp = and #38 = \stopbuffer \starttext \currentdate-\currenttime\quad\ConTeXt-version

Re: [NTG-context] goto reference

2018-04-19 Thread Taco Hoekwater
ath does not open and brings up an Alert >>> Run from TeXShop and also directly in Preview and Adobe Reader with the >>> same results. >>> >>> Thanks in advance. >>> >>> dr. Hans van der Meer >>> >>> >>> \starttext >>&g

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
path ftp:// access opens file but at last page opened >> (3) local path does not open and brings up an Alert >> Run from TeXShop and also directly in Preview and Adobe Reader with the same >> results. >> >> Thanks in advance. >> >> dr. Hans van der Meer >&

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
roduces the same End test\blank\stopxmlsetups\startbuffer[demo]\stopbuffer\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank{\bf Testing use of character entities}\blankThese should produce the same result: \type{} and \type{}\blank\xmlprocessbuffer{demo}{demo}{}\blank\stopt

Re: [NTG-context] goto reference

2018-04-19 Thread Otared Kavian
path does not open and brings up an Alert > Run from TeXShop and also directly in Preview and Adobe Reader with the same > results. > > Thanks in advance. > > dr. Hans van der Meer > > > \starttext > \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank &g

Re: [NTG-context] goto reference

2018-04-19 Thread John Grasty
view and Adobe Reader with the same > results. > > Thanks in advance. > > dr. Hans van der Meer > > > \starttext > \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank > Testing directly from \ConTeXt:\blank > \setupinteraction[state=start,color=b

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
file but at last page opened (3) local path does not open and brings up an Alert Run from TeXShop and also directly in Preview and Adobe Reader with the same results. Thanks in advance. dr. Hans van der Meer \starttext \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank Testing

Re: [NTG-context] \basegrid ignores color

2018-03-22 Thread Henri Menke
r=red] > > \color[red]{\basegrid} > > \stoptext > %D \module %D [ file=meta-grd, %Dversion=2012.06.28, %D title=\METAPOST\ Graphics, %D subtitle=grids, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \&am

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Aditya Mahajan
author=Aditya Mahajan, %D date=\currentdate, %Dcopyright=Aditya Mahajan, %Demail=adityam ieee org, %D license=Simplified BSD License] \writestatus{loading}{Simple matrix (ver: 2014.02.18)} \startmodule[simplematrix] \unprotect \definenamespace [simplematrix] [ \c

Re: [NTG-context] MS Office Chinese fonts in ConTeXt

2017-08-27 Thread Hans Hagen
\module %D [ file=type-imp-mscore, %Dversion=2007.07.30, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Microsoft Core Fonts, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This mo

Re: [NTG-context] \language[is] not working

2017-04-13 Thread Florian Grammel
blank line between paragraphs >> >> \version[temporary]% show overful hboxes >> >> \startcolumns[n=4, distance=3em] >> (English hyphenation) >> >> Önundur hét maður. Hann var Ófeigsson burlufóts Ívarssonar beytils. >> Önundur var bróðir Guðbjar

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Hans Hagen
að móðurætt en föðurkyn hans var mest um Rogaland og Hörðaland. \currentdate \column \language[is] % or [icelandic] (Icelandic hyphenation) Önundur hét maður. Hann var Ófeigsson burlufóts Ívarssonar beytils. Önundur var bróðir Guðbjargar, móður Guðbrands kúlu, föður Ástu, móður Ólafs

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Florian Grammel
ur var bróðir Guðbjargar, móður Guðbrands kúlu, föður Ástu, móður Ólafs konungs hins helga. Önundur var upplenskur að móðurætt en föðurkyn hans var mest um Rogaland og Hörðaland. \currentdate \column \language[is] % or [icelandic] (Icelandic hyphenation) Önundur hét maður. Hann var Ófe

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
eight=0.6mm,width=0.83\textwidth] % Dateline... {\bf Présentation}\crlf \currentdate[dd,{~},m,{~},year] % Headline... \blank \framed[align=middle,width=200mm,height=13mm,frame=off] { \bf \switchtobodyfont[15pt] {\bf Philosophie politique.} } \startTwoColumns \startlines {\bf Contact Inform

Re: [NTG-context] \mainlanguage[pe]

2016-08-01 Thread Mohammad Hossein Bateni
Is there a trick to get over this issue? Until a conversion mechanism like what you suggested (\currentdate[persian->day,space,month,persian->month]) is implemented, can I somehow achieve a similar result, perhaps in a not so clean way? Can one reduce the result of \currentdate to a

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
Mohammad Hossein Bateni <mailto:bat...@gmail.com> 7. Juli 2016 um 16:31 Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} 1. The \currentdate command isn’t expandable and is therefore not ex

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Mohammad Hossein Bateni <bat...@gmail.com>

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
e day (see below, I used greek to demonstrate it) but it could be done better (e.g. \currentdate[persian->day,space,month,persian->month] with "->" as separator for the conversion and keyword). %% begin example \installlanguage[fa][state=start] \defineconversion[fa]

Re: [NTG-context] Garamond Premier Pro font goodies file

2016-05-03 Thread mf
al-sizes-ws.pdf Description: Adobe PDF document %D \module %D [ file=type-imp-ebgaramond, %Dversion=2016.05.02, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Garamond Premier Pro, %D author=MF, %D date=\currentdate, %D copyright={PRAGMA ADE

[NTG-context] Lost in letter module

2016-02-09 Thread Jan U. Hasecke
rstadt}, signature={Jan Ulrich Hasecke}, date=\currentdate, kd={077}, id={2016002}] \starttext \startletter [opening={Sehr geehrte Damen und Herren}, closing={Mit freundlichen Grüßen}, subject={Imagebroschüre Mustermann GmbH}] Hiermit berechne ich Ihnen 100 € für Leistungen. \

[NTG-context] can't find file `./1.tex'.

2015-11-14 Thread Context NTG
b, 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 >> %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrighted by \PRAGMA. See mreadme.pd

Re: [NTG-context] superscripts "th" "nd" "rd" "st" on dates etc..

2015-09-05 Thread Wolfgang Schuster
hoose between a ordinal in text size and raised small size. \starttext \currentdate[day:ord] \currentdate[day:highord] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an ent

Re: [NTG-context] new beta

2015-07-10 Thread Hans Hagen
| www.pragma-pod.nl - %D \module %D [ file=m-newotf, %Dversion=2015.07.08, %D title=\CONTEXT\ Extra Modules, %D subtitle=Experimental OTF Loader, %D author=Hans Hagen, %D date=\currentdate, %D

[NTG-context] language mode with XML

2015-05-16 Thread Pablo Rodriguez
}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \mainlanguage[\xmlatt{#1}{lang}] \title{\currentdate} % to display language \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:h1 \section{\xmlflush{#1

[NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, this sample: \showgrid \setupbodyfont[30pt] \starttext {\tfa\setupinterlinespace \ConTeXt\par}\\ {\tfxx\setupinterlinespace Author\par}\\ {\tfxx\setupinterlinespace\currentdate\par}\\ {\tf\setupinterlinespace url\par} \stoptext With either latest beta

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
On 4/16/2015 6:50 PM, Pablo Rodriguez wrote: Hans, this sample: \showgrid \setupbodyfont[30pt] \starttext {\tfa\setupinterlinespace \ConTeXt\par}\\ {\tfxx\setupinterlinespace Author\par}\\ {\tfxx\setupinterlinespace\currentdate\par}\\ {\tf\setupinterlinespace

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
\par \strut x\par}\blank \ruledvbox{x\tfxx\setupinterlinespace \strut Author \par \strut x\par}\blank \ruledvbox{x\tfxx\setupinterlinespace \strut \currentdate \par \strut x\par}\blank \ruledvbox{x\tf \setupinterlinespace \strut url \par \strut x\par}\blank

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
\tfxx\setupinterlinespace \strut Author \par \strut x\par}\blank \ruledvbox{x\tfxx\setupinterlinespace \strut \currentdate \par \strut x\par}\blank \ruledvbox{x\tf \setupinterlinespace \strut url \par \strut x\par}\blank \stopbuffer \startbuffer[b

Re: [NTG-context] Loading modules

2014-12-23 Thread Wolfgang Schuster
=Ben Lee User, title=How to write a \tex{placetitle} command, date=\currentdate\space\currenttime] \dorecurse{6} {\startparagraph \input tufte\par \stopparagraph} \stoptext When you want to use your module instead of the third party module rename it from t-title.tex to p

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
this? Thanks, Aditya test.pdf Description: Adobe PDF document %D \module %D [ file=t-overviewpage, %D version=2013.08.31, %Dtitle=\CONTEXT\ User Module, %D subtitle=Page Overviews, %D author=Aditya Mahajan and Hans Hagen, %D date=\currentdate, %Dcopyright=Aditya

[NTG-context] bug in latest beta?

2014-12-10 Thread Pablo Rodriguez
\itc The Book on \ConTeXt \medskip \tfa\setupinterlinespace[2.6ex] {\sc The Author} \par \currentdate \stoptext Beta from 2014.11.26 21:43 compiles it without problems. Is this a bug or am I missing something? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] bug in latest beta?

2014-12-10 Thread Hans Hagen
] \def\ConTeXt{Con\-\TeX{}t} \starttext \itc The Book on \ConTeXt \medskip \tfa\setupinterlinespace[2.6ex] {\sc The Author} \par \currentdate \stoptext Beta from 2014.11.26 21:43 compiles it without problems. Is this a bug or am I missing something? It's a bug

  1   2   3   4   >